home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
smcpc.arc
/
HELLO.C
< prev
next >
Wrap
Text File
|
1988-01-19
|
512b
|
26 lines
/* hello.c - trivial program to demo "SMALLC-PC"
to compile :
A>cpc
{input file : hello.c,
output file : hello.asm,
other options as desired; null "input" to end}
A>masm hello; {I believe ASM would also work; no macros in
generated code.}
A>link hello,,,cpclib;
A>hello
*/
#define NL 13
main()
{
puts("hello, world.");
putchar(NL);
}